﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@Styles.Render("~/media/bootstrap-table/css")
@Scripts.Render("~/media/bootstrap-table/js")
<script src="~/Scripts/orders.js"></script>
@model MODEL.OrderModel
<div class="row-fluid">
    @using (Ajax.BeginForm("GetOrder", null, new AjaxOptions() { HttpMethod = "Post", OnSuccess = "fun_dgv" }, new { id = "table_query", @class = "form-inline" }))
    {  
        <div class="form-group">
            <button type="submit" class="btn btn-default">查询</button>
        </div> 
    }
</div>
<div class="row-fluid">
    <div class="span12">
       <table id="order"></table>
    </div>
</div>
  